package com.tianma315.admin.produce.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;


/**
 * 
 * <pre>
 * 配添加剂(生产)
 * </pre>
 * <small> 2019-05-30 09:53:17 | Aron</small>
 */
 @TableName("sc_additive")
public class ScAdditiveDO implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    
    /**  */
    @TableId
    private Integer additiveId;
    /** 生成任务id */
    private Integer produceTaskId;
    /** 原料进库id */
    private Integer purchaseId;
    /** 班组id */
    private Integer marshallingId;
    /** 数量 */
    private Integer number;
    /** 称量人 */
    private String weighingBy;
    /** 复核人 */
    private String checkBy;
    /** 配添加剂时间 */
    @JsonFormat( pattern="yyyy-MM-dd")
    private Date additiveDate;
    /**  */
    private Date createDate;
    /**  */
    private Long createBy;

    private Integer state;

    /**
     * 设置：
     */
    public void setAdditiveId(Integer additiveId) {
        this.additiveId = additiveId;
    }
    /**
     * 获取：
     */
    public Integer getAdditiveId() {
        return additiveId;
    }
    /**
     * 设置：生成任务id
     */
    public void setProduceTaskId(Integer produceTaskId) {
        this.produceTaskId = produceTaskId;
    }
    /**
     * 获取：生成任务id
     */
    public Integer getProduceTaskId() {
        return produceTaskId;
    }
    /**
     * 设置：原料进库id
     */
    public void setPurchaseId(Integer purchaseId) {
        this.purchaseId = purchaseId;
    }
    /**
     * 获取：原料进库id
     */
    public Integer getPurchaseId() {
        return purchaseId;
    }
    /**
     * 设置：班组id
     */
    public void setMarshallingId(Integer marshallingId) {
        this.marshallingId = marshallingId;
    }
    /**
     * 获取：班组id
     */
    public Integer getMarshallingId() {
        return marshallingId;
    }
    /**
     * 设置：数量
     */
    public void setNumber(Integer number) {
        this.number = number;
    }
    /**
     * 获取：数量
     */
    public Integer getNumber() {
        return number;
    }
    /**
     * 设置：称量人
     */
    public void setWeighingBy(String weighingBy) {
        this.weighingBy = weighingBy;
    }
    /**
     * 获取：称量人
     */
    public String getWeighingBy() {
        return weighingBy;
    }
    /**
     * 设置：复核人
     */
    public void setCheckBy(String checkBy) {
        this.checkBy = checkBy;
    }
    /**
     * 获取：复核人
     */
    public String getCheckBy() {
        return checkBy;
    }
    /**
     * 设置：配添加剂时间
     */
    public void setAdditiveDate(Date additiveDate) {
        this.additiveDate = additiveDate;
    }
    /**
     * 获取：配添加剂时间
     */
    public Date getAdditiveDate() {
        return additiveDate;
    }
    /**
     * 设置：
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    /**
     * 获取：
     */
    public Date getCreateDate() {
        return createDate;
    }
    /**
     * 设置：
     */
    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }
    /**
     * 获取：
     */
    public Long getCreateBy() {
        return createBy;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
